﻿using System;

namespace ReadyApps.Data
{
    /// <summary>
    /// Specifies the available retention policies for wiki pages.
    /// </summary>
    public enum RetentionUnit
    {
        /// <summary>
        /// Specifies that a wiki page should not maintain past revisions.
        /// </summary>
        None,

        /// <summary>
        /// Specifies that a wiki page should maintain a certain number of past revisions.
        /// </summary>
        Versions,

        /// <summary>
        /// Specifies that a wiki page should maintain past revisions that were active within
        /// a certain number of years from the current date.
        /// </summary>
        Years,

        /// <summary>
        /// Specifies that a wiki page should maintain past revisions that were active within
        /// a certain number of months from the current date.
        /// </summary>
        Months,

        /// <summary>
        /// Specifies that a wiki page should maintain past revisions that were active within
        /// a certain number of days from the current date.
        /// </summary>
        Days,

        /// <summary>
        /// Specifies that a wiki page should maintain all past revisions.
        /// </summary>
        Forever
    }
}
